package com.gsta.cdn.cdr.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.gsta.cdn.cdr.entity.ServerTypeIpTimes;
import com.gsta.cdn.cdr.mapper.ServerTypeIpTimesMapper;
import com.gsta.cdn.cdr.service.ServerTypeIpTimesService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ServerTypeIpTimesServiceImpl extends ServiceImpl<ServerTypeIpTimesMapper, ServerTypeIpTimes> implements ServerTypeIpTimesService {

    @Override
    public List<Map<String, Object>> selectSum(String date) {
        return baseMapper.selectSum(date);
    }

    @Override
    public int countSum(String date) {
        return baseMapper.countSum(date);
    }
}
